﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

// 管理员类
namespace BLL
{
    public class Admin
    {
        public Admin()
        {
        }

        public Admin(string personId, string personName, string userName, string password, string email, string isSuperAdmin)
        {
            PersonID = personId;
            PersonName = personName;
            UserName = userName;
            Password = password;
            Email = email;
            IsSuperAdmin = isSuperAdmin;
        }

        public string PersonID { get; set; }
        public string PersonName { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public string Email { get; set; }
        public string IsSuperAdmin { get; set; }

        public override string ToString()
        {
            return $"PersonId:{PersonID},PersonName:{PersonName},UserName:{UserName},Password:{Password},Email:{Email},IsSuperAdmin:{IsSuperAdmin}";
        }
    }
}
